package com.egreen.common.pojo.DTO.pointsmall;

import lombok.Data;

import javax.validation.constraints.NotEmpty;


@Data
public class UserRegisterDTO {
    /*进行注册的数据校验*/
    @NotEmpty(message = "登录名不能为空")
    private String loginName;
    @NotEmpty(message = "用户名不能为空")
    private String userName;
    @NotEmpty(message = "密码不能为空")
    private String password;
    @NotEmpty(message = "邮箱不能为空")
    private String email;
    @NotEmpty(message = "手机不能为空")
    private String mobile;

}
